package co.gov.medellin.ssti.sub.paoyer.administration.web.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class ProgramParameterForm extends ActionForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2212030808744664230L;

	public ProgramParameterForm() {
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
	}

	/**
	 * Validate all properties to their default values.
	 * 
	 * @param mapping
	 *            The ActionMapping used to select this instance.
	 * @param request
	 *            The HTTP Request we are processing.
	 * @return ActionErrors A list of all errors found.
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return super.validate(mapping, request);
	}

	private Long code;
	private String name;
	private String description;
	private String webUserCrea;
	private String webUserModif;
	private String webClientCrea;
	private String webClientModif;
	private java.sql.Date effectiveFrom;
	private java.sql.Date effectiveUntil;
	private String use;
	private String parameterType;
	private String mandatory;
	private String label;
	private String dataType;
	private String defaultValue;
	private String alternativeValue;
	private Short order;
	private Long ProgramCode;
	private Long fixedQueryCode;
	private String parentProgramName;
	private String parentFixedQueryName;

	public Long getCode() {
		return code;
	}

	public void setCode(Long newCode) {
		code = newCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String newName) {
		name = newName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String newDescription) {
		description = newDescription;
	}

	public String getWebUserCrea() {
		return webUserCrea;
	}

	public void setWebUserCrea(String newWebUserCrea) {
		webUserCrea = newWebUserCrea;
	}

	public String getWebUserModif() {
		return webUserModif;
	}

	public void setWebUserModif(String newWebUserModif) {
		webUserModif = newWebUserModif;
	}

	public String getWebClientCrea() {
		return webClientCrea;
	}

	public void setWebClientCrea(String newWebClientCrea) {
		webClientCrea = newWebClientCrea;
	}

	public String getWebClientModif() {
		return webClientModif;
	}

	public void setWebClientModif(String newWebClientModif) {
		webClientModif = newWebClientModif;
	}

	public java.sql.Date getEffectiveFrom() {
		return effectiveFrom;
	}

	public void setEffectiveFrom(java.sql.Date newEffectiveFrom) {
		effectiveFrom = newEffectiveFrom;
	}

	public java.sql.Date getEffectiveUntil() {
		return effectiveUntil;
	}

	public void setEffectiveUntil(java.sql.Date newEffectiveUntil) {
		effectiveUntil = newEffectiveUntil;
	}

	public String getUse() {
		return use;
	}

	public void setUse(String newUse) {
		use = newUse;
	}

	public String getParameterType() {
		return parameterType;
	}

	public void setParameterType(String newParameterType) {
		parameterType = newParameterType;
	}

	public String getMandatory() {
		return mandatory;
	}

	public void setMandatory(String newMandatory) {
		mandatory = newMandatory;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String newLabel) {
		label = newLabel;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String newDataType) {
		dataType = newDataType;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String newDefaultValue) {
		defaultValue = newDefaultValue;
	}

	public String getAlternativeValue() {
		return alternativeValue;
	}

	public void setAlternativeValue(String newAlternativeValue) {
		alternativeValue = newAlternativeValue;
	}

	public Short getOrder() {
		return order;
	}

	public void setOrder(Short newOrder) {
		order = newOrder;
	}

	public Long getProgramCode() {
		return ProgramCode;
	}

	public void setProgramCode(Long newProgramCode) {
		ProgramCode = newProgramCode;
	}

	public Long getFixedQueryCode() {
		return fixedQueryCode;
	}

	public void setFixedQueryCode(Long newFixedQueryCode) {
		fixedQueryCode = newFixedQueryCode;
	}

	public String getParentProgramName() {
		return parentProgramName;
	}

	public void setParentProgramName(String newParentProgramName) {
		parentProgramName = newParentProgramName;
	}

	public String getParentFixedQueryName() {
		return parentFixedQueryName;
	}

	public void setParentFixedQueryName(String newParentFixedQueryName) {
		parentFixedQueryName = newParentFixedQueryName;
	}

}